/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package callback.client;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 *
 * @author Hippolyte
 */
public class CallbackClientImpl extends UnicastRemoteObject implements CallbackClientInterface {

    public CallbackClientImpl() throws RemoteException {
        super();
    }

    @Override
    public String notification(String message) {
        String rMessage = "Le client a recu un callback : " + message;
        System.out.println(rMessage);
        return rMessage;
    }
}
